removing excess fb javascript