Only run demo js or sass build functions if js or sass there is a js or ...

...sass file to compile