Major update to template engines, jquery ui calendar bug fixes