added javascript to fix OL