Removed old (and potentially unused) javascript