Update tools-0.0.6.js

Fix for Firefox
"ReferenceError: invalid assignment left-hand side"