Formatting JS for readability