Moving scripts to parent jade file