added js and test pages