Updated the minetype for javascript

It used to be application/x-javascript, but was change to use
application/javascript instread. This is in line with the RFC 4329
http://tools.ietf.org/html/rfc4329#section-3