Added homepage fixes and gallery jquery fix example