Improve support for IE7 and don't require DATABASE_URL env var to be set.