added javascript of checking all the checkbox
added action onclick in checkbox
correct html form for functionality of checking all checkbox