correct me if I'm wrong here but wouldn't 

`this.width = options.width;`

Give you a similar result without having to check if they're in the dict? Because either way they'll be undefined.