Merge doaction JS into the render_JavaScript method.
Fix the render admin bar output.
Fix pagination variables.