Managing JavaScript environment capabilities, by using annotations.