// Remove search query
window.history.pushState(
  {
    html: document.documentElement.innerHTML,
    pageTitle: document.title
  },
  '',
  document.location.pathname + document.location.hash
);

var app = Elm.Main.fullscreen({
  time: new Date().getTime(),
  translations: JSON.parse(document.getElementById('translations').innerHTML),
  conf: JSON.parse(document.getElementById('conf').innerHTML),
  result: JSON.parse(document.getElementById('result').innerHTML),
  windowSize: { width: window.innerWidth, height: window.innerHeight }
});