Update bootstrap.js

fixed so when dev-builds pref doesnt exist json.parse doesnt crash