Refactoring v_canvas.js file.
Refactoring. Bringing all modules to a common standard.