Converting to JST templates

currently broken. moving to pc.