Complete Java Script