Update main.js
Update main.js

Best practice, get length of Array Tags outside for.
tristanbailey/webapp,phpmentoring/webapp,tristanbailey/webapp,phpmentoring/webapp,phpmentoring/webapp,tristanbailey/webapp,tristanbailey/webapp,phpmentoring/webapp