fix bugs with destroying objects, add grunt-s3