JavaScript Program to Calculate the Area of a Triangle