Now uses url_for() to reference the location of static files correctly.