with disconnect and some notes to my .js code