cleaned up and made js libraries local