Revert unwanted changes to CapabilitiesPanel.js

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>