seperating facebook javascriptsdk into seperate file