Adding Travis CI support.
Changing Array.forEach into a for loop for IE compatibility.