added javascript function to catch 'get more events link'