Update scripts.js

Hides options for entries if the div is empty
Merge pull request #65 from Kevincredible/patch-48

Update scripts.js