fix for some intish values

These values should be coerced into int I guess. My firefox complains if they are not.
Merge pull request #62 from shkdee/patch-1

fix for some intish values