Replace text/javascript with application/javascript.