rewrite plugin use json transfer data with html page.