simplified sample JS script
fixed #12
Merge branch 'master' into deploy