refactor

refactor common.js into remote.js and hac_dom.js
add some scrolling fixes that don't seem to do anything but whatever
update version number to 1.2.2