Update optmein.js

Removed a bug caused by a misspelling