transfered js and css to base template and js dedicated file
added comment to the js file
changed the way call to function are loaded on page loadup
cleanup repo method for field and updated _view template