LPS-49109 remove last dependency PortletImpl has on ServletContextPool
LPS-48859 - Change the javascript error to ignore to be a little more general