fixed js errors
adited readme