Modified layout and javascript.