Library for JavaScript an PHP