Update jade.js

There is a small inconvenience to work with generated namespaces on client side. It would be nice to add a new "dir" option as relative path to the "root folder containing templates".

If you have a deep folder tree (complex project) then filename is too long in the target client's js amd file.

I.e., using this fix you can use your template on client side as product.card