It appears this code will request the file in Chrome and IE but not in Firefox.
The canonical way to specify script is
or
There is no reason the browser should load unknown mime into a script tag and it will be strictly browser specific whether or not it will allow/ignore the type attribute
It would be a matter of testing to see what the browser will do if you actually send
content-type:text/javascript
regardless of type attribute