LDEV-3959: Setting the cache on ajax calls in authoring, to ensure any javascript files come from the cache. Also fixed error that was stopping the condition up and down arrows working.
LDEV-3945: Treetable definition had been lost in a previous fix, causing javascript errors which blocked the highlight code running. Treetable has been restored and javascript code rearranged so that any future similar errors will not break the highlighting.