unit test JavaScript now pass through JSHint
updated src path for unit test
- refactored EventList::listen and DelegateList::listen
- refactored elementHasClass, DelegateList constructor
- fixed a bug in EventList::loop

Signed-off-by: Jingwei Liu <john.th507@gmail.com>