Refactor: break out IE compat into its own module, add Cookie dep