wp_localize_script consolidated; changed stdClass because it was confusing me.