Client-side js lib
privatekey support in base config