Testing more loops and comparing js source