Trying out javascript