Fixed some JS issues, updated README