updated javascript to recognize to checkboxes
Merge pull request #3 from bzerangue/patch-1

updated javascript to recognize to checkboxes