update references.js to resolve path
Fix unterminated code line
added toastr