Got this working. HTML5 Range objects hate me though.