WIP: Jquery will only activate when map element is present in view