execute.php now returns a message on error, cleaned up init.js