Fix dumb js bug

Bah. Sorry about this one.