Add Javascript behaviour to the twitter popup