JavaScript C-like includes management