setup dependencies to the js folder