Joseph Gordon-Levitt to Play in Justice League