problem id 1: completed
adding javascript dir