JEIEvents.hideItems(event => {
event.hide('minecraft:lever')
})
This is saved in client_scripts.js and I have been been doing f3+t as well as /kubejs reload client_scripts after saving that file.
The goal is to remove ad astra steel from JEI as i already deleted the recipe. Ive tried that with multiple minecraft blocks and it has not worked yet