Fixed stats display and ported remaining fields to js

Fix #583
show min before max
Signed-off-by: Sheik Hassan <solergiga@yahoo.com>