added test2.js