chore(js): Add a library to generated_getter_setter_spec
fix(demo): Shorten remaining(), add return type annotations
refactor(block): replaced "undestands" with interfaces