simplified, added _dbg to js includes