Playing around with javascript and touch api