Added missing returns for local startegy js