js ready + implemented iterator
added custom EventDispatcher (similar but simpler than flash)