clean up js tag