Add a location using JavaScript
Using IIFE JavaScript design pattern