trying out javascript