Refactoring for enhancements #6 and #8
- #6: Object Literals for singletons (instead of function with a prototype saved on the window object)
- #8: Refactoring for enhancement #8: Follow Gaia naming conventions on javascript files