This page is almost an exact version of this page. So far as I know, it represents the most sophisticated Javascript implementation of Fisher's exact test. I keep this page on my website to make sure I can always find this extremely useful tool.
This page is written in HTML+Javascript. Simply save this page to your local disk if you want to run it offline.