location is a javascript keyword and can cause problems