Refactor to use new template paradigm
Update  ladder.js and index.htm