It seems wp_add_inline_script does not work with this theme.