Added optional wait to the shutdown function.
Shutdown does not work in firefox (Is there any possible workarround?).
Merge branch 'master' of https://github.com/fdemian/jqTerminal