modified sample-main js and css for add item page