jQuery updates, not fully functioning but works on image click