js for newsbox