added input form for js interactive illustrative purposes