Moved rangeString() function to s/bridge.js