fixing checkbox, http post javascript