Provide metadata js friendly attributes