Update tools.js

Added jQuery deparam