Add: documentation and version info to javascript API