Uh, I think I'm doing something wrong or Jade has messed up. doing script{:type => "text/javascript", :src => "js/main.js"} in the jade template and I get in the generated html :s