code js like opp