badjs report front-end script