Modify facebook javascript to close window after sharing