additional options added to JS example
HTML example updated
HTML example updated