Added ability to create JS function from expression.