prototype of javascript based 3DCG offline render