[#issue-18] wip: refactor jsbridge code to take event name and timestamp