javascript error notes added