Moving client template to jade
Porting index to jade