Joss Whedon To Get Writing Credit On 'Justice League'