Updated readme, javascript fixes