Bug 1093929 - Improve grunt tasks and add additional options r=jaoo

TypeError: redeclaration of var ```perfConfig```. Just once please.

nit: missing ```;``` after statement;