fixed formatting.
added code to jj/require() to print an error message if library doesn't exist.