cleanup js for shop page
cleaning up some code