Formatting javascript.