src dir to js