Simple JavaScript tests