Use json data

Also, get rid of html demo, it's not any faster.