added validation js and css to prevent js error