fixed error
added js notifications