What's the best way in Javascript to validate that a field is alphanumeric?