Bit of formatting, fixed some syntax errors, turned on request animation frame updates