Use addscript for twitter and add phpcs fixes