A new approach to structure your javascript in non single-page Rails apps