add js subdirectory