starting work on javascript codework