DOM - Correctly set up initial rails app