Update jsfiddle demo and clarify JS comment