update version
js: add json as content-type for save action