add tower.js and move index.html js to test.js