add necessary js libraries