Update javascript_basics.md

Added Rebecca Appleyard's solutions