Renamed 'template' to 'jemplate' to fix conflict

Stupid hack, but it works