improve the field js