add comments to tripeg-ui.js
pass namespaces into module function as args
move jquery into lib subdir