fix js and add f
fix js and add f