Don't display 'JS disabled' when we can't detect it. Also remove ternary.
Make the message method public