cleanup
caching js
exit when commands have been dispatched