change main to js dir