modify bgimage.js