A JSON driven Javascript UI component