javascript variable management library