fix lost some javascript