Update year to 2014
JS: Remove unused "undefined" parameter
JS: Reformat code and trim trailing spaces
JS: Remove displayMethod from lib, use show

Remove unnecessary method, we can just use and override .show()
directly.
JS DOM: Simplify code a bit

It's a small self contained example, don't overcomplicate global
handling. Also shortened some parts.
JS lib: Add console mode
JS: Use "engine" alias for NumGuessEngine

Use the same variable name to reference the engine in all JS code.
JS lib: Fix number validation

Validation failed on numbers less than 1. Instead of "plain wrong" it
should say "out of range" for those numbers.