add local copy of js