Did a whole bunch of shit. Added scripts for test page.