added Js functionallity and icon to the pages