fix script.canRead() check
Merge pull request #31 from oliverlietz/master

fix script.canRead() check in DartMojo