clean up jscompile.sh
deal with the case where localStorage.options is corrupto