doctype added, and javascript set in order to solve layout problems on html 5.0 browsers