Fixed the js causing the detailAccount page error