I had to move and was getting killed in interviews for sr. positions, until I wasn't. I found a company that saw my value and gave me a chance. I contracted for them for a few months then landed a 6-figure job doing stuff I'd never done before.
I would encourage you to hold your head up, build some stuff in your spare time, and find a company that values what you are. If you are capable with JS in any capacity, double-down on that since it seems a lot of people are being hired from that. Plus you can show projects that can impress people of all backgrounds.
I would also encourage you to reach out to any past associates or linkedin connections.
Another resource I recommend for people is Mike Hartl's book(1) on Ruby on Rails. Yes, it does teach you that language/framework specifically, but it also shows you how the web and server-side applications work. You will be able to speak about REST, DB Associations, OO concepts, TDD, and several other buzzwords that impress employers.
I don't know your work of course, but from the sounds of it you have a better shot than you think! Go get 'em.