implemented GoTo.. methods handling for PHP and JS