Missed .js file for viewLeaveRequest