Java Script

Here are my attempt to work in JavaScript.