Code clean up/fix no item bug with spacers.js