Moved snap-to-grid js to module
Moved snap-to-grid js to module