Change 'application/javascript' to 'text/javascript'