Factor out an tap listener
Merge branch 'master' into phonegap

Conflicts:
	www/index.html