Fix bug don't load fully jslibrary