javascript vm with system extensions