Move social tracking to js (wasn't working for promotion plugin)

fix 2 windows opening for twitter tweet