The data from the Facebook javascript integration is much richer as it lets Facebook see each customer's complete journey before purchase. This helps tremendously with ad targeting as it tells FB (for example) what other products the customer viewed before purchasing, and possibly even how they got to the site in the first place.