Change text/javascript with application/javascript