Javascript Error reporting variable already declared

Thank you. I guess I have never named a variable location before. lol