No easy solution I'm afraid atm. I'm working on a replacement to Hem with Ace.
https://github.com/maccman/ace/blob/master/examples/spine.coffee