half-shell js fix