Changing text/javascript to application/javascript

When javascript is pushed to s3 as text/javascript chrome logs messages to the console. This PR changes javascript to application/javascript