July's work

Fully working and tested javascript version with PHP and Python coming
soon