Two JavaScript snippets added.