add jstock.sh

Hi,

The updated jstock.sh as discussed ages ago.
Using the built-in type command instead of the external which & exiting on error.

Let me know how it goes.

Cheers