running thin server, added js to layouts