js for simplead