More better encoding of javascript questions

Only merge after https://github.com/askaway/askaway/pull/151; ping me if it needs a rebase.