an awful hack for awful JavaScript float issues. fix later.