I'm finding that smartindent is routinely wrong about how I want things to be indented in JS, but I haven't been able to find an indent script. I'd be interested in working on it myself, but I don't know the first thing about how the function referred to when setting indentexpr is expected to behave.
Is anyone already working on an indentation file for JavaScript? If so, I'd be interested in helping. If not, would anyone be interested in collaborating on it? --Greg