teaching Razvan how to use javascript