Manage context info for javascript.