fix javascript formatting.