Remove unused injectjs function