set js for background