This lets us encapsulate everything about a check in its JS definition, which makes it much simpler for other extensions or gadgets to create checks. Change-Id: Ica23fc26a576d55addb001e4baf78b3702927208
Follow-up to 4cd67004de Change-Id: Ie95f36344c3627bcf0ab2a8fc2abcaf1745ab3a8
4cd67004de
Change-Id: Ia250a0c09d700b0f8e78bf2ea9c17e35b8c40d6d
Change-Id: I27eee69c4086d44fd7d60bacde9a76c170af63fe