js tweaks (content sorts and layout)