Improving JavaScript initialization
Updating README