updated js, include comparative tool