Update index.js

silenced browser logging output for logLevels LOG_INFO and LOG_DEBUG
silenced browser logging output for logLevels LOG_INFO and LOG_DEBUG

clarified if statement logic
Merge pull request #22 from jamesnesfield/master

quieter logging for different config.logLevels