Fixed eventDebug event
Begun to update ap.js
Updated Documentation