contents js for service