Trivial RESTful random word server in Flask, with javascript code.