Update javascript_basics.md

Add my solutions.