minor fixes
adapt new backend api
moving to window.comfirm pattern, is easier and faster
fix test and fix jshint. There is a lot of code cleaning to do
Merge pull request #56 from franleplant/backendintegration1

Backendintegration1