adding new refrence stuff

js callbacks, php backtrace