changes to jscrpt

modified the index back, changed js and removefromcart