Yes, that would be the only way. BUT DO NOT DO IT: there is no need to include a dependency for all of IE for such a simple task.