Fix errro JS dashboard page