fix bugs on js
Comment on card show card popup instead of going to the board