working on javascript methods