added more fb stuff and fixed js ref