core.js fix

better error shown when steam inventory couldnt be loaded.