changed layout and js lib