renamed reset shell script
Fixed a JS bug