cleaned up room and index js