use text-shadow instead of dark background for the title
make sure first part of the script is executed before any external resources are loaded