Modify JavaScript Files

JavaScript files now include PHP to communicate with the database.