add style and js function to change bg image during nighttime