Fixed modules.js load(). now callback excecuted in correct time after script loaded. Added some tests for load