Adding heaps of javascript to see if I can get the touch to work