Included tags functionality again to attachments inside space.
The entire code need some refactoring to remove unused js functions.