Simplify JavaScript by using the $ shorthand in the document.ready function.


git-svn-id: https://plugins.svn.wordpress.org/akismet/trunk@858105 b8457f37-d9ea-0310-8a92-e5e31aec5664
Move akismet_check_for_spam out of the global scope.

It's only used in this file, inside document.ready.


git-svn-id: https://plugins.svn.wordpress.org/akismet/trunk@858106 b8457f37-d9ea-0310-8a92-e5e31aec5664