Update scripts.js

Hides options for entries if the div is empty