Update index.js

Now custom configurations with value 'true' or 'false' will be treated as Boolean