Cleanup JS example