In AEM CS, there is no "code editor", so we need to call our clientlibs function in visual editor only.Found the way, We need to create a clientlibs, Author the category name in form container clientlibs section. After this you can able to see your functions in editor,