added mad JS math sample