refactoring renderer
refactored javascript to autocompleteJsfBridge.js file + documented Java code