Fixed fatal error & multisite redirect issue

Embedded jquery to remove web access dependency