added conditionals section to js cheat sheet