Common API JS spec fix