update js error and README.md