some refactoring, updated .updateData(..) and deps and added soem docs to ribbons.js...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>