Complete state transition buttons
Reorganize js code
Rewrite alt with Backbone