javascript foundation debug