How To Get Checkbox Value Using Javascript For Navigation