split javascript to separate file
take out of html
copy over tara's changes
revert for formatting
copy changes back over