Update compiler.js

Add "filename" option, so that "extends" in jade could be properly compile.