fixed typo in js and fixed examples to reference correct js path.