Fixed some js bugs for qty buttons