Modified the following to fix jshint errors: Removed 'var ' on self, which was previously defined, on line 162. Declared firstFocus and lastFocus as variables outside of nested function scope and added conditionals against 'undefined' before applying focus() to fix 'used out of scope' messages in jshint for lines 593 and 600. Added semicolons on lines 688 and 698.
Modified the following to fix jshint errors: Removed 'var ' on self, which was previously defined, on line 162. Declared firstFocus and lastFocus as variables outside of nested function scope and added conditionals against 'undefined' before applying focus() to fix 'used out of scope' messages in jshint for lines 593 and 600. Added semicolons on lines 688 and 698.

scottaohara/accessible_modal_window,scottaohara/accessible_modal_window