update fix bug js browers