add rudimentary tracking of logical selector pos
update compiled javascript