add prime javascript functions
update comments
Merge branch 'master' of https://github.com/dgoldie/experiments