AUI-1653 Clean up wrong A.Lang.isNode calls
AUI-1653 Source formatting