Dependency loading fix and working on doc

- It was an error on joopl: some code was untested and it didn't worked.
Asynchronous dependency loading using $import.modules was
broken..........