Add custom-set test and example to JavaScript and update curriculum.