Use absolute paths for css and js files in the header

When accessing the settings page (URL: /light/settings/<id>) relative
URLs would be relative to /light/settings, which doesn't work.