Update checkedMarked.js

Added functionality for already checked checkboxes and fixed problem of one checkbox checking them all.