split off script binding from simxmldocument