converted views to js
client is all js
server to js, removed coffeescript dependency