Moved (require 'w3m) to near the beginning