Wiring between main.js and wash.js