Fixed [EZP-22755] Javascript error with fixed_toolbar.js

Fixes https://jira.ez.no/browse/EZP-22755