JS 1.7 issue :-) thanks mkaply