explicitly setting js mime type to text/javascript