Addon to js file