"An hilarious", really? Dude, spend a minute on your title. It's not Reddit here.
Maybe the author is Irish =)
It's probably that words with a more French origin, where the "h" is subdued, require "an" where the harder "h" from more Germanic words does not.