move URL helpers into register function, delete some unused utils from html.js
adds "params" to helper-lib.js register function, other minor edits