Pure javascript depswriter

No python needed anymore