The legendary boy band brought down the house with their performance of 'Girlfriend' and 'Bye Bye Bye'!