add js path to config