You have included jQuery so feel free to use jQuery's getelementbyId shorthand:
var locationId = $('locationBlock');