Fixed Issue #1159 - Bug Redrawing Legend when using custom container
Added curly braces to match flot style guidelines
Merge pull request #1160 from luisvsilva/master

Fixed Issue #1159 - Bug Redrawing Legend when using custom container