Resolves #5 added small vanilla js helper.