moved fb js to file