More neat formatting of functions
Fixed #108: math.js not working in Java's ScriptEngine