Moving scripts to js root.