New version of app.js with yuidoc documentation matching the classes definition