Update JS mime type

`application/x-javascript` has been obsoleted by `application/javascript` for a while now.

/cc @dgoodlad