Fix the js-api instance and remove access to the database (#5822)
Fix the js-api instance and remove access to the database (#5822)

* Fix the js-api instance and remove access to the database

* Remove useless parameters
Alfresco/alfresco-ng2-components,Alfresco/alfresco-ng2-components,Alfresco/alfresco-ng2-components,Alfresco/alfresco-ng2-components