Simplified definitions using custom constants
Optimized "j" for NO_NODE compatibility
Added Compatibility section to index.html