Entries attribute, removing JS if no need (fixes #7)