Removed unnecessary JavaScript code.