performance optimisations of events and argument operations for chrome