Rudiments of Javascript- Part 1