Initial implementation of jsudf which exposes the native udf interface to javascript.
Implemented aggregate functions.