Create missing JSOS directory if it doesn't exist; cleanup