updates styles and js to hide initial uglieness.