Changing error.php?mode=js from text/plain to application/javascript

Replacing js mimetype on error.php?mode=js "from text/plain" to "text/javascript" to prevent issues with some proxy configurations and allowing deflate compression by type in apache.conf.