reorganizing javascript files
fixing category-menu