adds js libraries