set up js libraries