fixed js for new css