correct mimetype for the javascript