A RESTful state machine View base Backbone