Fix jquery refs in photomind