bucky.resourceTiming: add unit tests + JS linting