As of http://www.rfc-editor.org/rfc/rfc4329.txt, the preferred MIME type for JavaScript is application/javascript.