Simple JavaScript drill