Implemented JS testing environment