removed window.a debug and added check to see if vmOn has already been called