Create auto-close-and-indent.js

Added more examples.