mostly cleanup, but a little js improvement in slot handling
better slot success handling