improve js;