This initialization code was taken from YUI. Now that it's removed, the copyright notice for YUI at the top of the file can also be removed.