----------------------------------------------------------------------------------------------------------------------------------
Under the new framework for ASP.NET cause of the problem js file needs to be configured in the web.config
<add name="css" verb="GET,HEAD" path="*.css" type="System.Web.StaticFileHandler" />
<add name="js" verb="GET,HEAD" path="*.js" type="System.Web.StaticFileHandler" />