Updated loops.js

just fixed some indenting