fix bug : js location