fixed case-sensitive js ref