add deps folder and move some js to the right place