Use new update_value_direct javascript helper

This enables us to drop the code that we duplicated in
update_value_raw_string().
Merge pull request #74 from vuntz/use-update_value_direct

Use new update_value_direct javascript helper