Added bin/test.sh. Also, fixed fullstack javascript.