fixing js for follow handlers