using text/javascript instead of application/javascript