Fixed javascript bug in student console inbox