Fixed boolean type

"new Boolean" returns object instead of boolean
Merge pull request #25 from ROMB/patch-2

Fixed boolean type