Playing around with Rails and requirejs