Updating to call registerFunctions properly

Calling registerFunctions by passing in an object...

```javascript
engine.registerFunctions({});
```