Changes to allow for overlay functionality in a chrome app/extension