cleanup of main.js
cleanup of main.js

-moved function out of document ready
-removed unnecessary anon function

Founts/st-sophia-cathedral-website,Founts/st-sophia-cathedral-website,Founts/st-sophia-cathedral-website,Founts/st-sophia-cathedral-website