Common JS additional functionality