[fix] fix syntax extension for 'a type
[new] client lib to use with js_of_ocaml