fixed legend layout
Fixed server path in IE.

Closes #266
Closes #264
Merge pull request #272 from agrc/ie

Ie