Fix javascript formatting