added random list factorization for factor.html, but something seems to be missing. The code from the example isn't working either, so perhaps something with python