jquery ajax: Fixes #3045. The protocol wasn't being checked to see if a script is...