Corrected JavaScript fundamental blunder !!

A great fundamental blunder. Thank God nobody saw it !