add js example folder
add namespace and init function
workin example