Resolve #8 Add some basic js doc