Tweaked enqueuing js call