runtime: fix operand checks for op_add.
runtime: don't use `this` inside Builtin functions.
runtime: fix operand check for vec.add
ui: add workaround for String.endsWith which hasn't shipped in most browsers.