refactoring to jquery not working yet, last mile problem when resolve not pass the user