Fix bug when recalculating result points
Use classes for result boxes instead of inline styles