Fix for issues like #516

Fix a crash when a toolbar button does'nt exist. Now not appear, but no crash the js. Maybe some warn like "The button {blabla} not exists, not rendering" will be fine! But i don't want use the console.log/error that can crash in ie :/