Supports a requirejs or browserify configuration for looking up aliases. Fixes #9 and #10