location.origin not supported by chromium
Trying to fix flex boxes for chromium