Firefox compatibility fix in javascript client
updated learning notes