Changing text/javascript to application/javascript