Fix type annotations in JsList