changing "name" to "id" for compatibility with new browsers.