Update index.js

map click with touchend