You could try using de4js. For the javascript snippet in the original post, de4js produces the following output:
確定! 回上一頁