Update app.js

Corrected initialization of clockwise