fixed bundle-tests
cleaned up some unused functions in kernel-deps
fixed statement traversal inside __js blocks