test sending JSON data to gopherjs
add Val() method for struct Val to get the updated value from view model
update example