JQuery galleriffic javascript integration as browser resource