Use JS if possible (should fix IE)