closing off javascript functions to fix bug
Merge pull request #55 from gopher-snakes-2013/js-close-curlies

closing off javascript functions to fix bug