Fixed javascript scripts for javascript-test-master