I think we should check whether jsc file exists first, if it doesn't exist, then check js file.