test javascript for placeholder