JavaScript Buy SDK Example