xaml
generate javascript