Delete undefined options from hash provided by jQuery plugin

Should fix bug from #24
Release v1.1.6