Improved the ActionTrigger observer object by adding triggers based on JS events (also reformated some code)