Reworking the example for Components::Status. Now it access the data that should be used in the javascript page