Fix #43 JS errors in chrome

- Fix #43
- Update README