implemented jsu.min and jsu.max