fixed small bugs in IE and Firefox
Signed-off-by:Matthew Scaperoth <mscapero@gwu.edu>