getContractsLib = do
  contractLib <- getContractLibraryPath
  dataDir <- getDataDir
  let typedContractLib = dataDir</>"typedjs_contracts.js"
  contractLibStmts <- JavaScript.parseJavaScriptFromFile contractLib
  typedContractLibStmts <- JavaScript.parseJavaScriptFromFile typedContractLib
  return $ contractLibStmts ++ typedContractLibStmts
getContractsLib = do
  contractLib <- getContractLibraryPath
  dataDir <- getDataDir
  let typedContractLib = dataDir</>"typedjs_contracts.js"
  contractLibStmts <- JavaScript.parseJavaScriptFromFile contractLib
  typedContractLibStmts <- JavaScript.parseJavaScriptFromFile typedContractLib
  return $ contractLibStmts ++ typedContractLibStmts
getContractsLib = do
  contractLib <- getContractLibraryPath
  dataDir <- getDataDir
  let typedContractLib = dataDir</>"typedjs_contracts.js"
  contractLibStmts <- JavaScript.parseJavaScriptFromFile contractLib
  typedContractLibStmts <- JavaScript.parseJavaScriptFromFile typedContractLib
  return $ contractLibStmts ++ typedContractLibStmts