fixed asynchronous  lib (require js)