Use data in getJSON also. Add function to get error from Lim. Add dynamic content in a better way. Don't need to check for prettyPrint, we depend on it.