Yet another attempt at fixing the web app as I continue to reverse engineer pebbley things.