Removed commented code. Added parserFunction to loadUrl()