- // and trying to load JSON or Script
- if ( !s.url.indexOf("http") && ( s.dataType == "script" || s.dataType =="json" ) ) {
+ // and trying to load JSON or Script with a GET
+ if ( !s.url.indexOf("http") && ( s.dataType == "script" || s.dataType =="json" ) && s.type.toLowerCase() == "get" ) {