Added client side handling and related styling.