#JavaScript How I reverse-engineered the Hemingway Editor - a popular writing app - and built my own from a beach in Thailand