Make configuration more flexible.
Merge branch 'master' of https://github.com/joeldalley/modalator.js into gh-pages