Browser compatibility

Some versions of chrome only works when the attr indeterminate is setted directly by javascript
Merge pull request #3 from renanborgez/patch-1

Browser compatibility