add explicit radix to parseInt calls
add jslint parameters; now passes
encapsulate Box within MedianCut