fix #11 and remove dojo/connect dependency