JS class that helps with 3d CSS