Modular DOMReady example (Rails)