change syntax mode of aced editor based on content type