Simple Enumerable object in javascript.