Fix strict warnings

Only variables can be passed by reference into other functions, lines 425 and 640 were outputting an error when WP_DEBUG was on causing the js to break and the Update button not to show.