Update javascript_basics.md

Added Rebecca Appleyard's solutions
Merge pull request #676 from katylouise/master

Update javascript_basics.md