use document.on syntax adapted to new rails.js
use document.on syntax
adapted to new rails.js

mallikarjunayaddala/active_scaffold,activescaffold/active_scaffold,AlbertoBarrago/active_scaffold,AlbertoBarrago/active_scaffold,activescaffold/active_scaffold,AlbertoBarrago/active_scaffold,mallikarjunayaddala/active_scaffold,budree/active_scaffold,budree/active_scaffold,activescaffold/active_scaffold,budree/active_scaffold,mallikarjunayaddala/active_scaffold