Front-end style guide

This is how the OpenHatch dynamic HTML avoids common problems.

If it's not a link, don't make it a link
If there's no fallback for non-JS users, don't use the  tag.

http://openhatch.org/bugs/issue478 covered a problem where a user was clicking on what appeared to be a link. However,

Don't rely on "return false;"
It is easy to mistakenly use "return false;" at the end of a JavaScript callback when you really mean event.preventDefault. You can read more about this problem.