client side code - lint fixes