Update init method with alert

;
Merge branch 'alertTest'

Conflicts:
	init.js