example using rails4 with requirejs-rails