the smart js