Quick fix for tag attributes that contains an array. CakePHP, Rails and others...

Fixing javascript error when attribute name from input or attribute for from label are arrays... (rails, cakephp and others...)