Use parsed capabilities instead of parsing again in capabilities.js