Added jquery ui; added basic features to the edit template view