Enabled basic javascript functionality for dig button. Page no longer refreshes.