added structure for js files