Add common.js and refactor wall.js
Define chain function.
function 'chain' could iterator object properties if there is no function names specified.
Move spinner opts to common.js