Added js script files and samples and template