Better feature script debug output

This dump more information when one have an error on a javascript feature style.