There isn't really any logic to the elevator/lights, you do kinda need trial-and-error to figure out which switch is which. I know it's not ideal, and was gonna add instructions somewhere (rifling through Jim's pockets, maybe?) but ran out of time. I did deliberately make it so that the lights start "on" and the elevator starts "off" so that just reflexively flipping every single switch isn't the correct solution, but that might have been too harsh.
I primarily tested in Firefox (on Linux, mind you) and have not had any trouble with this, so this bug has me seriously confused. Could you maybe try it with browser extensions turned off? But oh well, stuff happens.
Anyways, thanks for playing!