Fixed javascript on current home and about pages to run after page by wrapping in jquery