Hide the buttons until the javascript completes