Build out IsActionable method in card1.js. Code cleanup.