Changed Value of Distribution Map to Amount, some js improvements