added simple examples
added js