seal js api