survey project using javascript