tuesday commits

- make sure .js pattern ends in '.js$'
- numerous zwave fixes from zoran nakev!