Namespacing - same error: Uncaught TypeError: Cannot call method 'each' of undefined