client js + test page