test javascript grammar