Add doubletap.js
Move everything from Rails to Sinatra for simplication purposes.