remove unused code.
Fix notice when spotbox url is empty
If context is a node, retrieve the nids from spotbox field.