made external JS script for FB test