LPS-52277 Move 'check' and 'removeItem' from util.js to deprecated.js