Add back in test core js files
Fix error filename
Fix svg function in browser