Update bg.js

script for toggle  of logo