Some test of JavaScript and PHP by myself