adding js to reder cart