Collection of Javascript snippets for practice