added lab#1 javascript