* TypeError fix in optparse.js