ajax for tabs links, small refactoring
ajax for tabs links, small refactoring