moved most of addseries to use require.js
made RootFolderCollection, NotificationCollection singleton.
everything should be moved to require.js