It's odd seeing a JS utility like this defined in the Oasis skin template. Can this be added to AssetsManager?