Initial commit, compat with Legato js v1.1