automatically enable javascript auto-complete