Update backbone.statemanager.coffee

Add AMD support