make js code tidy
update fe