Cross browser range and selection library