Fixed error handling

- typo in options
- fixed using inArray
- removed some debug
- if there is no callback defined, don't give an 'ParseError'