fix the _createScriptTag to be able to use this so it can call _trackPages when trackPages is on, also fix the js unit tests