Fixes Javascript Errors

Fixes the Javascript error that prevents enabling/disabling the objects
in the interface.
Merge pull request #532 from mdima/master

Firewall: Traffic Shaper - Fixes the Javascript error