Code Samples collected while learning JavaScript