Issue 11: Directive for complex objects in selectboxes
fixed some jshints+