js strict mode and handshake options