Setup the page so that will act like the user doen't have javascript enabled (aka make a big message about how they need to enable javascript or redirect them or whatever).
However, add into the page something in javascript that will overwrite the error message.
Thus if they have javscript, they don't notice anything.