Modified SBW.init function to accept config as object apart from url to config.json