Cleaning up/ reorganizing; reducing iQ.js to UI functions