refactored the removeParam(p, fromURL) into default.js