Added check if jquery appending string is unique

To prevent script appending twice if there is more than 1 Fotorama on
page