Simplified example of bug, removed JavaScript.