Added package.json and optional callback when calling changeBrightness