Add prettyPhoto attribute wuth jquery.