Prettified CSS and Javascript, rearrange handlers.