Remove potential javascript error when looking for tabs
in EditorPanel