Fixed JavaScript call for Pinterest