trying out @ahocevar's solution for https://github.com/opengeo/mapstory/issues/511