Added functionality

added styles to by using addClass in jQuery.  Fixed enter key
functionality and alerts in case of spaces, blanks and letters.
Merge branch 'master' into gh-pages