JavaScript running at the background

Am using AdminLite template for my MVC project, and anytime I start typing my JavaScript function then the application says JavaScript is running at the background and then the application immediately shutdown

I deleted object and the bine folder and rebuild the application thinking it may be a third party link that is causing it but it didn’t work