added JS testing framework