add phpjs to demo
refactor demo
lib/ -> php/
updates to demo
Floats use .0; global->get fix
fix variable name replacement
update variable escaping
php fixes