added script for js testing