Revert "adding new javascript function OC.generateUrl(url, params)"

This reverts commit 8e667d1934d6bd9b4344ac624fdd2846c89abb0a.