code not working (3)

Any operation with $w(selector) is always must be inside $w.onReady(function () { }) method