JavaScript code generation template

Generated code can be directly tested on the NumericJS site: http://www.numericjs.com/workshop.php