Added FB js api to a js file that is first loaded by rails