added .js from samples system
added copyright and license statement