using hasAttribute to test for 'data-is-ajax' presence