add third argument to .setProperty

Some versions of FireFox throws when third arg is not present
Merge pull request #36 from eivindfjeldstad/master

add third argument to .setProperty