fixed frequently.js to use it anywhere