polling & callback fix

fixed polling to work a little better and adding back data-callback and
data-target
removing PHP files as they are only for testing
ignor php file