ruby: move script tags to the bottom of the page
ruby: add a default session secret