basic migration of CardsController to javascript to use controller as syntax
can drag cards to a different board