Fix elseif as JS doesn't know about it