Update ex4.js

Cleaning formating