PHP & JS documentation updated