Content condition checking in demo/sticky_footer.js.
Improved readbility in sticky_footer.js

Signed-off-by: Elavarasanlee <lee.jsss15@gmail.com>