changed layout and default js