javascript for voc