Need to store value for javascript