moved adding event listeners into get request success function