Fix made for alignment of content, moved around some js