Resolves #11
Added support and steps for the generator to handle javascript alert, prompt and confirm windows.