fixing js libraries