updated ractive library and extracted drawing template to external partial