JS Runtime is allocated only the first time