Fixes #228: added this.options in the mergeOptions .extend