writing underscore js source to learn creating library