rewriting js file to be more MVC
updated js file
refactoring js file
refactoring js file
refactoring js file
refactoring js file
more JS refactoring
more refactoring, but need to stop nesting callback functions
added callback.apply
on click data handler fix, and used function references for callbacks
finished refactoring as callbacks, and passed JSlint
started bug fixing browser errors
refactoring

playerAddDestination is now a function reference and uses an event.data
object.

getting a weird bug where calculating index is failing
fixed the first initial button clicks and flippy updates

still need to fix second click of button
repeat lookups work, but region selector deactivation doesn't

also a weird bug wtih the roll function not working
fixed index bug

codes[] was returning region indexes that needed 1 subtracted.  not
necessary so reduced all indexes by 1 in first column
fixed region selector display
old changes to delete with a merge
fixed bug in region picker

needed to turn off onclick before reassigning it