restructured js document to prevent loading order issues
fraction blocks won't bleed off grid edge