optimize js
commit