Initial version of jscompare.js

Immature but working version of code.