fixed responsive on cross browser and fixed error js on firefox