Remove nested js