changing the way print div console logging happens