update test.sh and main.js for my dev environment