Feature/environment variables

Add environment variables through Ruby which are then attached to the window with JS. @charliechase