Renamed int to iv

Variable name “int” was a reserved keyword in earlier versions of
ECMAScript which causes problems with YUI Compressor (and possibly
other tools).
Merge pull request #6 from AntonFagerberg/master

Renamed int to iv