Just updating semantics. For the js, wp_localize_script would be the next step