Update touch.js

Moved into a onload