Relax, it happens. This doesn't mean you aren't a terrific developer and person to work with. Take a little time to think about what you've worked on, what you've accomplished in the past 6-12 months I think you'll see what a great position you really are in. As others have said it's a golden time for both developers and particularly Javascript coders.
Once you've had a little time to reflect on all this then dust off your resume, update your linked in, and basically get ready for a lot of recruiters calling you.
If you have the means financially don't rush, take your time and really interview your next potential employer as if you were hiring them.
You'll be amazed what kind of work is out there if you take your time versus jumping into the next gig you are offered.
Lastly, at 28 I would seriously consider a startup. You are in a great position to take that risk right now. Since you aren't in a tech hub like San Francisco it might take a little more time to find something there, unless you want to relocate. Perhaps look under Gigs in craigslist, I've found local (Denver) startups looking for coders that way in the past.