JS spec cleanup