create shutdown.js

create shutdown.js