Improvements to javascript syntax & examples (Structures)

Ref #4

(Still more to do on this page)