added JS files and sample