Baina javascript toolkit