Remove unnecessary jquery in place of css for background image