adjust js for good effect