Added support for jump_to_id links

Added support fr jump_to_id links.
Added tests for testing that jump_to and jump_to_id triggers expected events.
Nice refactoring - this makes it easier to read, and to maintain.