when a shader doesn't compile, shdr says so and points to where it failed. There should be similar functionality for the javascript eval()