fixed content-type to application/js