move js into separate file
format js
use strict mode when processing js

- reference https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode
fix casing on function & paramter names

- Pascal-cased names are used to denote for constructors by convention
- refer to http://javascript.crockford.com/code.html for more
  conventions
single var declaration

- good practice to declare variables up at the top of a function
- refer to http://stackoverflow.com/a/6963944 and learn about variable
  hoisting
- includes some variable renames to be camel-cased
load script at the end of body

- ensures dom is loaded *before* js is loaded, so elements can be found
  by the js
bind click & submit handlers in js; keep html js free
wrap js code in self invoking anonymous function

- prevents pollution of global namespace
load phonebook entry through js