fixed targeting in js