Organized code into object literal pattern, excellent learning afoot.