moved functions into an object called rb
basic setup of page
fixed missing object references
brought in jasmine and basic tests