Pass options to $.html in toString

fixes #611