fork of Simas javascript addon (https://www.assembla.com/code/arma-javascript/subversion/nodes)