Update layout.js

Oops... added click-event like 5x