reseting js libraries