Added missing var in share.js