Small JS simplification, and mobilize the CSS.