Apple was still allowing you to install 4.0.1. Hopefully, they are still allowing it. Quickly google and download that firmware. In ITunes, restore using that file.
If Apple stop allowing the above and giving you this "device not eligible...," google how to use your saved SHSH to restore to 4.0.1 file you downloaded.
Afterward, you can use jailbreakme.com again.