Bug 913359 - Add location function in Element module.

Add location function in Element module.
http://bugzil.la/913359