Merged security improvement

https://github.com/mootools/mootools-core/commit/0f7f05984eb9374c910e992015f078e8d10bfa11#diff-1