Updated for FB changes, removed html2canvas