LPS-31764 Dockbar fails to load in WebSphere

Hi,

I've changed my former pull request (https://github.com/KocsisDaniel/liferay-portal/pull/244) as per our discussion.

Cheers,
Laci.