alternative layout example
updated JS and templates