Fixing jp.php