changed js for title