added JS for tabs
added Tabs for index and edit