global data for javascript