move tax to document ready