Fixed openOrderCheck.js example