Small js syntax fixes to sitespeed ruleset.