Convert client-side code to LiveScript with some minor cleanups