Normalize JS spacing and styling