Fixed 2 issues with op.js