React Run Script After Render