fixed bug in footerview.js