Revised layout, python-php links, javascript