removed node.js requirement code, check source has query string with regex