It's important to note that these types of methods may be effective against random drive-by harvesting, but if someone wants to write a bot to harvest these email addresses specifically it would still be trivial. This may or may not matter depending on the OP's context.
I'm nervous about any JavaScript because when Natural Language Processing was offered as a Coursera course, the first homework assignment had you searching for the obvious JS solutions and casing for them.