Fixes Javascript htaccess mimetype