Fix .drop/.take to work with list of strings.
Fix .sample to duplicate elements.
Webpack config cleanups.
JSHint config cleanups.