Fixed #1615 rename constant variable for Compatible with JSB

rename constant variable for Compatible with JSB