added loop section to js cheat sheet