Simple javascript to calculate the area of a triangle. Homework for WDI