Controller and utilities to make Extjs and rails work together better