Added check for empty options
Added handling of dynamically loaded content
Merge pull request #33 from hankolsen/master

Check empty options and support dynamically loaded content