add apiVersion entry in config.js, and make vnc.js use it.