The problem is you're storing js files in your view folder. The view folder has it's own web.config which stops you from requesting static files from it.
Your options
- Modify the web.config to allow the js files through
- Move your js files out of the view folder.
- Use MVC bundling which should be able to access the view folder and have it bundle the script into a different repo.
Number 2 is best practice in my opinion. Was there a particular reason why you have the script in the view folder to begin with?
Update
To allow js files in you view folder add the following to the web.config located in your area's views folder.
<system.webServer>
<handlers>
<add name="JavaScriptHandler" path="*.js" verb="*"
preCondition="integratedMode" type="System.Web.StaticFileHandler" />
<remove name="BlockViewHandler"/>
<add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" />
</handlers>
</system.webServer>