chore: convert to jade and adapt build