updated examples for js/java parity