remove the enum confusion, bugs fixed
refactor js for create task form processing
removing useless enum translator