[BUGFIX] Deliver JavaScript with correct MIME type
The JavaScript lib is generated by a PHP file. This file will be blocked in browsers, if the server has the security option "X-Content-Type-Options: nosniff" set.
Set the correct MIME type (text/javascript) in the header to avoid this behaviour.
Refs #84 (closed)