adding hello world JS examples and a few fixes