JS tests running

Added guard, teaspoon