Updated JS versions of examples to be more consistent with TS versions.