replaced swig with jade template engien