javascript file for conditionals worksheet